package lgy.kunpeng.homework;

import java.util.Scanner;

public class op05 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入直角三角形的行数：");
        int lin = input.nextInt();
        for(int i=1;i<=lin;i++){
            for(int j=1;j<=i*2-1;j++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
